scala_library(
    sources = ["*.scala"],
    compiler_option_sets = ["fatal_warnings"],
    platform = "java8",
    provides = scala_artifact(
        org = "com.twitter",
        name = "finatra-jackson-core",
        repo = artifactory,
    ),
    strict_deps = True,
    tags = ["bazel-compatible"],
    dependencies = [
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-core",
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind",
        "3rdparty/jvm/com/fasterxml/jackson/datatype:jackson-datatype-joda",
        "3rdparty/jvm/com/fasterxml/jackson/module:jackson-module-scala",
        "3rdparty/jvm/com/google/inject:guice",
        "3rdparty/jvm/jakarta/validation:jakarta.validation-api",
        "3rdparty/jvm/net/codingwell:scala-guice",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/caseclass",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/caseclass/exceptions",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/modules",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/streaming",
        "finatra/validation/src/main/scala/com/twitter/finatra/validation",
        "util/util-jackson/src/main/scala/com/twitter/util/jackson",
        "util/util-validator/src/main/scala/com/twitter/util/validation",
    ],
    exports = [
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-core",
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind",
        "3rdparty/jvm/com/fasterxml/jackson/module:jackson-module-scala",
        "3rdparty/jvm/com/google/inject:guice",
        "3rdparty/jvm/jakarta/validation:jakarta.validation-api",
        "3rdparty/jvm/net/codingwell:scala-guice",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/modules",
        "finatra/validation/src/main/scala/com/twitter/finatra/validation",
        "util/util-jackson/src/main/scala/com/twitter/util/jackson",
    ],
)
